package cn.xuguowen.user.designPatten.factory.hsp_abstract_factory;

import cn.xuguowen.user.designPatten.factory.pizza.Pizza;

/**
 * ClassName: PizzaFactory
 * Package: cn.xuguowen.user.designPatten.factory.hsp_abstract_factory
 * Description:
 * 抽象工厂
 * @Author 徐国文
 * @Create 2023/4/26 15:17
 * @Version 1.0
 */
public interface PizzaFactory {
    /**
     * 根据你传入的类型创建对应类型的pizza对象
     * @param orderType pizza类型
     * @return pizza对象
     */
    Pizza createPizza(String orderType);
}
